Skip to main content

All Questions

Tagged with
1vote
1answer
36views

How do I change the text color of a TextField component from Material UI using TailwindCSS?

I'm trying to change the color of a TextField component from Material UI, both the label and the input text only using TailwindCSS. Current MaterialUI version: 6.1.2 Current TailwindCSS version 3.4.1 ...
CrayonAzul's user avatar
1vote
1answer
44views

Axios Get is returning an empty array in my React Component

Here is my Component where I am need to load data from the backend. import { Card, CardBody, CardFooter, Flex, Image, Spacer, } from "@chakra-ui/react"; import CardIcon from &...
user07773's user avatar
0votes
0answers
138views

New to Typescript and migrating a Reactjs app to Typescript few unknown errors

I have a few typescript errors from using TypeStat to help migrate everything over. I have a few unknown errors that I am not sure about how to adjust their types accordingly. Error #1: Type 'Element[...
NoobieNoob's user avatar
0votes
0answers
33views

Implementing TypeScript into an existing Reactjs project learning TS and getting unknown errors

I am transitioning my vite Reactjs project over to TS and I am getting some errors that I am not sure about and cant seem to find a good answer on google to navigate. Here are some of the errors I am ...
NoobieNoob's user avatar
0votes
1answer
215views

Can't finish request to API (React typescript - axios)

I generated typescript client with NSwag studio. There is a part of the generated code: user(authorization?: any | undefined, body?: AddUserDto | undefined , cancelToken?: CancelToken | undefined): ...
Роман Кармацкий's user avatar
11votes
6answers
37kviews

React Uncaught ReferenceError: process is not defined?

My app in react.ts contains the .env file to store variables with confidential data. But when using process.env.REACT_APP_CLIENT_ID an error appears in the console. Uncaught ReferenceError: process ...
Study's user avatar
0votes
1answer
2kviews

Object passed changes every render

I am trying to define a global state provider for an app I am building with react. But I keep getting the error The object passed as the value prop to the Context provider (at line 19) changes every ...
Andrews's user avatar
4votes
1answer
2kviews

Conditional Rendering in React application using tsx

I am trying to render a view to the user based on the state they are in a React application using the default React template that Microsoft provides. Here is the error I am getting: picture of error ...
MaholeycowDev's user avatar

close